@import './config.less';
@import './base.less';

// 文本省略
.text-ellipsis() {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.business {
    padding-left: 24px;

    &-name {
        display: inline-flex;
        align-items: center;
        margin: 36px -24px 20px;
        font-size: @font-size-big-num;

        &-icon {
            margin-top: 6px;
            margin-right: 6px;
            font-size: @font-size-big-num;
            width: @font-size-big-num;
            height: @font-size-big-num;
        }
    }

    .product {

        &-item {
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            background: @const-white-color;

            &:hover {
                box-shadow: 3px 5px 23px 0 rgba(54,69,98,.1);
            }
        }
    }
}

.toast {
    position: fixed;
    z-index: 2000;
    left: 50%;
    top: 45%;
    transition: all .5s;
    transform: translateX(-50%) translateY(-50%);
    text-align: center;
    border-radius: 3px;
    color: @const-white-color;
    background: rgba(17, 17, 17, 0.7);
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
}
